package com.example.demo.mapper;

import com.example.demo.entity.StudentInfo;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface StudentMapper {
  List<StudentInfo> getallstudentinfo();
  int insertstudentinfo(StudentInfo studentInfo);
  int updatestudentinfo(StudentInfo studentInfo);
  int deletestudentinfo(int studentid);
  StudentInfo getstudentinfo( int studentid);

}
